using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SH.Model
{
    //[NotifyPropertyChanged]
    [MetadataType(typeof(ICertificate))]
    [Table("Certificates", Schema = "Storehause")]
    public class Certificate : ICertificate
    {
        public int Id { get; set; }

        public DateTime DateStart { get; set; }
        
        public DateTime DateEnd { get; set; }

        #region ForeginKeys

        public Storehause Storehause { get; set; }
        
        public Status Status { get; set; }

        #endregion
    }
}
